@import "variables.less";
@import "css.less";
@import "button.less";
.ai{
    position: fixed;
    bottom: 10px;
    right: 70px;
    z-index: 999;
    display: none;
    width: 500px;
    height: 550px;
    background: @brand_color;
    margin: 50px;
    .ai_title{
        width: 100%;
        height: 40px;
        line-height: 50px;
        font-weight: bold;
        color: #fff;
        h4{
            float: left;  
            text-indent: 1em;
        }
        span{
            float: right;
            margin: 5px;
            display: block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            background: #fff;
            color: @brand_color;
            font-weight: normal;
            cursor: pointer;
            &:hover{
                background: #eee;
            }
        }
    }
    .ai_list{
        margin: 10px;
        width: 480;
        height: 325px;
        background: #fff;
        overflow: auto;
        border-radius: 5px;
        .user_text{
            float: right;
            padding: 10px;
            width: 440px;
            text-align: left;
            overflow: hidden;
            span{
                float: right;
                margin-left: 5px;
                display: block;
                width: 44px;
                height: 44px;
                border-radius: 5px;
            }
            div{
                float: right;
                margin-left: 5px;
                padding: 10px;
                background: #fff;
                border: 1px solid @gray_border;
                min-height: 50px;
                width: 350px;
                border-radius: 5px;
                line-height: 30px;
                text-align: left;
                b{
                    color: @brand_color;
                }
            }
        }
        .ai_text{
            float: left;
            padding: 10px;
            width: 440px;
            text-align: right;
            overflow: hidden;
            span{
                float: left;
                margin-right: 5px;
                display: block;
                width: 44px;
                height: 44px;
                border-radius: 5px;
            }
            div{
                float: left;
                margin-right: 5px;
                padding: 10px;
                background: #fff;
                border: 1px solid @gray_border;
                min-height: 50px;
                width: 350px;
                border-radius: 5px;
                line-height: 30px;
                text-align: left;
            }
        }
    }
    .ai_form{
        margin: 10px;
        width: 480;
        height: 100px;
        line-height: 20px;
        background: #fff;
        border-radius: 5px;
        overflow: hidden;
        textarea{
            width: 480px;
            height: 100px;
            padding: 5px;
            font-size: 14px;
            font-family: "microsoft yahei";
        }
    }
    .ai_btn{
        margin: 10px;
        width: 480px;
        height: 45px;
        background: #fff;
        text-align: right;
        span{
            float: left;
            line-height: 45px;
            text-indent: 1em;
            font-size: 14px;
            b{
                color: #CE001E;
            }
        }
    }
}
.ai_open{
    padding: 10px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
    border: 1px solid @gray_border;
    cursor: pointer;
    span{
        display: block;
    }
    &:hover{
        background: #eee;
    }
}
